<template>
  <div>
    <div style="margin-bottom: 15px">fill:
      <NstdSwitch v-model="fill"/>
    </div>
    <NstdSpace :fill="fill" wrap>
      <NstdCard v-for="i in 3" :key="i" class="box-card">
        <template #header>
          <div class="card-header">
            <span>Card name</span>
            <NstdButton class="button" text>Operation button</NstdButton>
          </div>
        </template>
        <div v-for="o in 4" :key="o" class="text item">
          {{ 'List item ' + o }}
        </div>
      </NstdCard>
    </NstdSpace>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const fill = ref(true)
</script>
